package com.zhanqiao.service;

import com.zhanqiao.Dao.SelectAllContentDao;
import com.zhanqiao.domain.ArticleBean;

import java.util.List;

public class SelectAllContentService implements ArticleService {

    @Override
    public List<ArticleBean> articleService() {
        return null;
    }

    public List<ArticleBean> articleService(String page,String limit) {
        SelectAllContentDao selectAllContentDao = new SelectAllContentDao();
        List<ArticleBean> list = selectAllContentDao.selectAll(page,limit);
        return list;
    }

}
